#pragma once
#include "Utility\Matrix.h"
#include "Utility\FixedArray.h"

class Animation;

class AnimationInstance
{
public:
	AnimationInstance(Animation* pAnimation);
	~AnimationInstance(void);
	
	bool Update(float fDeltaTime);
	FixedArray<Matrix>* GetTransformations() { return &m_aBoneTransformations; }

protected:
	Animation*				m_pAnimation;	
	float					m_fElaspedTime;
	bool					m_bPlaying;
	FixedArray<Matrix>		m_aBoneTransformations;	
};
